import request from '@/utils/request'
import exp from "constants";

export interface themeModel{
    cover:string,
    webUrl:string,
    name:String,
    remark:String,
    updateTime:number,
    id:number,
    onsellTime:number
}

export type themeListModel=themeModel[]


export interface themeModelAll{
    content:themeListModel,
    totalElements:number,
    first:string,
    last:string
}

export type themeListModelAll=themeModelAll[]



export default{
    getThemeList(){
        return request.get<any,themeListModelAll>(`/moment/activityZones/collect/default?access_token=06f094b9-2d00-4604-a566-209dfab65ed1&pageSize=16`);
    },
    getImgIdList(id:any){
        return request.get<any,themeListModelAll>(`/moment/activityZones/${id}?access_token=06f094b9-2d00-4604-a566-209dfab65ed1`)
    }
}
